package com.sjl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.sjl.util.PoiHandler;

import java.io.Serializable;

/**
 * 
 * @author 宋嘉霖
 *
 */
public class Sections implements Serializable {
    @PoiHandler(excelIgnore = true)
    private static final long serialVersionUID = 1L;
    /**
     * 科室ID
     */
    @TableId(value = "sections_id", type = IdType.AUTO)
    @PoiHandler(excelHeader = "科室编号")
    private Integer sectionsId;
    /**
     * 科室名称
     */
    @PoiHandler(excelHeader = "科室名称")
    private String sectionsName;
    /**
     * 科室备注
     */
    @PoiHandler(excelHeader = "科室备注")
    private String sectionsRemark;
    @PoiHandler(excelHeader = "附加1")
    private String sectionsTest1;
    @PoiHandler(excelHeader = "附加2")
    private Integer sectionsTest2;
    @TableLogic
    @PoiHandler(excelHeader = "是否删除")
    private String isDelete;

    public Sections() {
    }

    public Sections(Integer sectionsId, String sectionsName, String sectionsRemark, String sectionsTest1, Integer sectionsTest2, String isDelete) {
        this.sectionsId = sectionsId;
        this.sectionsName = sectionsName;
        this.sectionsRemark = sectionsRemark;
        this.sectionsTest1 = sectionsTest1;
        this.sectionsTest2 = sectionsTest2;
        this.isDelete = isDelete;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getSectionsId() {
        return sectionsId;
    }

    public void setSectionsId(Integer sectionsId) {
        this.sectionsId = sectionsId;
    }

    public String getSectionsName() {
        return sectionsName;
    }

    public void setSectionsName(String sectionsName) {
        this.sectionsName = sectionsName;
    }

    public String getSectionsRemark() {
        return sectionsRemark;
    }

    public void setSectionsRemark(String sectionsRemark) {
        this.sectionsRemark = sectionsRemark;
    }

    public String getSectionsTest1() {
        return sectionsTest1;
    }

    public void setSectionsTest1(String sectionsTest1) {
        this.sectionsTest1 = sectionsTest1;
    }

    public Integer getSectionsTest2() {
        return sectionsTest2;
    }

    public void setSectionsTest2(Integer sectionsTest2) {
        this.sectionsTest2 = sectionsTest2;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "Sections{" +
                "sectionsId=" + sectionsId +
                ", sectionsName='" + sectionsName + '\'' +
                ", sectionsRemark='" + sectionsRemark + '\'' +
                ", sectionsTest1='" + sectionsTest1 + '\'' +
                ", sectionsTest2=" + sectionsTest2 +
                ", isDelete='" + isDelete + '\'' +
                '}';
    }
}
